<?php

class BaseAction extends Action
{
    public function _initialize()
    {
        $this->loadConfig();
    }

    public function loadConfig()
    {
        $tmplParseString = array();
        $tmplParseString['__STATIC__'] = __APP__ . '/static';
        $tmplParseString['__SITE_URL__'] = __APP__;
        C('TMPL_PARSE_STRING', $tmplParseString);
    }

}